From 653a03c218f1a308ba437661fdc56ad91d969a91 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 25 Apr 2007 09:47:14 +0000 Subject: [PATCH] fix the build. Dunno if the fix is right, but I think it is. 2007-04-25 Michael Natterer * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the build. Dunno if the fix is right, but I think it is. svn path=/trunk/; revision=17629 --- ChangeLog | 5 +++++ gtk/gtkprintoperation.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 47bb06cde2..52e7d2e8b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-04-25 Michael Natterer + + * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the + build. Dunno if the fix is right, but I think it is. + 2007-04-25 Kristian Rietveld * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index e1189d762f..d40465b04b 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -214,7 +214,7 @@ preview_iface_is_selected (GtkPrintOperationPreview *preview, for (i = 0; i < priv->num_page_ranges; i++) { if (page_nr >= priv->page_ranges[i].start && - (page_nr <= priv->page_ranges[i].end || page_ranges[i].end == -1) + (page_nr <= priv->page_ranges[i].end || priv->page_ranges[i].end == -1)) return TRUE; } return FALSE; -- 2.30.2